VtFrame object_name [options]
Creates a Frame widget which places a three-dimensional border around a single child. Returns the widget name of the Frame.
The border can have different shadow types in the graphical environment, but in the character mode server it is just a single line.
The following code produces a RowColumn widget containing four PushButons. This RowColumn widget is enclosed within a frame.
set app [VtOpen demo] set form [VtFormDialog $app.fn -title "VtFrame Demo" ] set frame [VtFrame $form.frame ] set rowcol [VtRowColumn $frame.rowcol -numColumns 2] VtPushButton $rowcol.but1 -label "Apples" VtPushButton $rowcol.but2 -label "Oranges" VtPushButton $rowcol.but3 -label "Bananas" VtPushButton $rowcol.but4 -label "Kumquats" VtShow $form VtMainLoop
This code produces the following:
See also: